
<h4 class="d_h4" style="width:92%;">Sign Up Account or <a href="/">Login</a></h4><p style="color:#42C8D1">Please fill all <font color="red">*</font> feilds required !!!</p>
<p>&nbsp;</p>
<div class="col col_13">

    <div id="contact_form">
        <?php
        if ($this->uri->segment(3) == 'success') {
            ?>
            <span id="error" style="background: none repeat scroll 0 0 #42C8D1;
                  color: white;
                  float: left;
                  line-height: 23px;
                  padding: 3px;
                  width: 500px;
                  border-radius: 3px;
                  ">Register successfull go to  <a style="color:white" href="<?php echo site_url('pages/news'); ?>"> LOGIN</a> !!</span>
                  <?php
              }

              echo '<br /><br />';
              echo form_open(site_url('pages/signup_account'), 'POST');

              $fullname = array(
                  'name' => 'fullname',
                  'type' => 'text',
                  'placeholder' => 'Your full name...',
                  'id' => 'author',
                  'required' => '',
                  'class' => 'required input_field',
                  'autofocus' => '',
                  'value' => set_value('fullname')
              );
              $phone = array(
                  'name' => 'phone',
                  'type' => 'text',
                  'placeholder' => 'Your phone number...',
                  'id' => 'author',
                  'required' => '',
                  'class' => 'required input_field',
                  'autofocus' => '',
                  'value' => set_value('phone')
              );
              $address = array(
                  'name' => 'address',
                  'type' => 'text',
                  'placeholder' => 'Your address...',
                  'id' => 'author',
                  'required' => '',
                  'class' => 'required input_field',
                  'autofocus' => '',
                  'value' => set_value('address')
              );
              $email = array(
                  'name' => 'email',
                  'type' => 'email',
                  'placeholder' => 'Your email...',
                  'id' => 'author',
                  'required' => '',
                  'class' => 'required input_field',
                  'autofocus' => '',
                  'value' => set_value('email')
              );
              $username = array(
                  'name' => 'username',
                  'type' => 'text',
                  'placeholder' => 'Your username...',
                  'id' => 'author',
                  'required' => '',
                  'class' => 'required input_field',
                  'autofocus' => '',
                  'value' => set_value('username')
              );
              $pass = array(
                  'name' => 'pass',
                  'type' => 'password',
                  'placeholder' => 'Your password...',
                  'id' => 'author',
                  'required' => '',
                  'class' => 'required input_field',
                  'autofocus' => '',
                  'value' => set_value('pass')
              );
              $con_pass = array(
                  'name' => 'con_pass',
                  'type' => 'password',
                  'placeholder' => 'Your confirm password...',
                  'id' => 'author',
                  'required' => '',
                  'class' => 'required input_field',
                  'autofocus' => '',
                  'value' => set_value('con_pass')
              );
              $gender = array(
                  '' => '---- select gender ----',
                  'M' => 'Male',
                  'F' => 'Female'
              );
              ?>


        <label for="author">FullName (<span class="signup">More than 6 characters</span>)<font color="red">*</font>:</label>
              <?php echo form_input($fullname); ?>
        <div class="cleaner h10"></div>

        <label for="author">Gender:</label>
              <?php echo form_dropdown('gender', $gender); ?>
        <div class="cleaner h10"></div>

        <label for="author">Phone (<span class="signup">Between 9 - 10 numbers</span>)<font color="red">*</font>:</label> 
<?php echo form_input($phone); ?>
        <div class="cleaner h10"></div>

        <label for="author">Address<font color="red">*</font>:</label> 
<?php echo form_input($address); ?>
        <div class="cleaner h10"></div>

        <label for="email">Email<font color="red">*</font>:</label> 
<?php echo form_input($email); ?>
        <div class="cleaner h10"></div>

        <label for="author">UserName (<span class="signup">More than 6 characters</span>)<font color="red">*</font>:</label> 
<?php echo form_input($username); ?>
        <div class="cleaner h10"></div>

        <label for="author">Password (<span class="signup">More than 6 characters</span>)<font color="red">*</font>:</label> 
<?php echo form_input($pass); ?>
        <div class="cleaner h10"></div>

        <label for="subject">Confirm-password (<span class="signup">More than 6 characters and match</span>)<font color="red">*</font>:</label> 
<?php echo form_input($con_pass); ?>

        <div class="cleaner h10"></div>
        <br />
        <input type="submit" value="Send" id="submit" name="submit" class="submit_btn float_l" />
        <input type="reset" value="Reset" id="reset" name="reset" class="submit_btn float_r" />

        <?php
        echo form_close();
        ?>
    </div>
</div>
